package com.m4f.docs.ifc;

import java.io.IOException;
import java.util.List;
import com.google.gdata.util.ServiceException;
import com.m4f.business.model.Vote;

public interface ISpreadsheetService {
	
	 /**
	   * Lists all rows in the spreadsheet.
	   * 
	   * @throws ServiceException when the request causes an error in the Google
	   *         Spreadsheets service.
	   * @throws IOException when an error occurs in communication with the Google
	   *         Spreadsheets service.
	   */
	public void createVotesTable(Long companyId, List<Vote> votes, boolean countRecords) throws IOException, ServiceException, Exception;
	 
}